package org.travel.api.travel.user;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.travel.api.travel.dao.wmh.user.UserDao;
import org.travel.api.travel.pojo.User;

import javax.persistence.Table;

@RunWith(SpringRunner.class)
@SpringBootTest
public class login {
    @Autowired
    private UserDao userDao;

    @Test
    public void c(){
        User user = userDao.getLogin("","15733879137");
        System.out.println(user.getId());
    }
}
